]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
overviewControls: don't set padding on the whole overview group
authorCosimo Cecchi <cosimoc@gnome.org>
Thu, 21 Feb 2013 15:44:32 +0000 (10:44 -0500)
committerCosimo Cecchi <cosimoc@gnome.org>
Thu, 21 Feb 2013 16:37:44 +0000 (11:37 -0500)
Set it on the control slider actor instead. At the same time, remove
bottom padding from search results actor.

https://bugzilla.gnome.org/show_bug.cgi?id=694287

data/theme/gnome-shell.css
js/ui/overviewControls.js

index a2b95ea379525f2cf689137bfe0cddd700d25a4e..2f1a9f7e94695f9844d60aa331ca9b8bb86ebabf 100644 (file)
@@ -644,6 +644,9 @@ StScrollBar StButton#vhandle:active {
 
 #overview {
     spacing: 24px;
+}
+
+.overview-controls {
     padding-bottom: 32px;
 }
 
@@ -781,7 +784,7 @@ StScrollBar StButton#vhandle:active {
 /* Search Results */
 
 #searchResults {
-    padding: 20px 10px 10px 10px;
+    padding: 20px 10px 0px 10px;
     spacing: 18px;
 }
 
@@ -850,6 +853,7 @@ StScrollBar StButton#vhandle:active {
 
 .app-view-controls {
     width: 250px;
+    padding-bottom: 32px;
 }
 
 .app-view-control {
index e03b572ac989856a28fa2a48231423976ce10d50..4f876fc62d08f39508ded60f164834c099229fb4 100644 (file)
@@ -98,6 +98,7 @@ const SlidingControl = new Lang.Class({
         this.layout = new SlideLayout();
         this.layout.slideDirection = params.slideDirection;
         this.actor = new St.Widget({ layout_manager: this.layout,
+                                     style_class: 'overview-controls',
                                      clip_to_allocation: true });
 
         Main.overview.connect('showing', Lang.bind(this, this._onOverviewShowing));